<h1>Ems sections List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Title</th>
      <th>Has featured block</th>
      <th>Has banner</th>
      <th>Has menu</th>
      <th>Has form</th>
      <th>Has pagination</th>
      <th>Pagination parameter</th>
      <th>Published</th>
      <th>Is subsection</th>
      <th>Has subsection</th>
      <th>Is enabled</th>
      <th>Portal</th>
      <th>Header</th>
      <th>Footer</th>
      <th>Type</th>
      <th>Css</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($ems_sections as $ems_section): ?>
    <tr>
      <td><a href="<?php echo url_for('section/show?id='.$ems_section->getId()) ?>"><?php echo $ems_section->getId() ?></a></td>
      <td><?php echo $ems_section->getTitle() ?></td>
      <td><?php echo $ems_section->getHasFeaturedBlock() ?></td>
      <td><?php echo $ems_section->getHasBanner() ?></td>
      <td><?php echo $ems_section->getHasMenu() ?></td>
      <td><?php echo $ems_section->getHasForm() ?></td>
      <td><?php echo $ems_section->getHasPagination() ?></td>
      <td><?php echo $ems_section->getPaginationParameter() ?></td>
      <td><?php echo $ems_section->getPublished() ?></td>
      <td><?php echo $ems_section->getIsSubsection() ?></td>
      <td><?php echo $ems_section->getHasSubsection() ?></td>
      <td><?php echo $ems_section->getIsEnabled() ?></td>
      <td><?php echo $ems_section->getPortalId() ?></td>
      <td><?php echo $ems_section->getHeaderId() ?></td>
      <td><?php echo $ems_section->getFooterId() ?></td>
      <td><?php echo $ems_section->getTypeId() ?></td>
      <td><?php echo $ems_section->getCssId() ?></td>
      <td><?php echo $ems_section->getCreatedAt() ?></td>
      <td><?php echo $ems_section->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('section/new') ?>">New</a>
